<template>
  <el-dialog
    top="30px"
    width="90%"
    title="项目提交"
    append-to-body
    :close-on-click-modal="false"
    :visible.sync="visible"
    :before-close="beforeClose"
  >
    <submit-edit v-bind="$attrs" v-on="$listeners" :visible="visible"></submit-edit>
  </el-dialog>
</template>

<script>
import SubmitEdit from '@/bank/views/business/industry/new/submit/SubmitEdit'

export default {
  components: {
    SubmitEdit,
  },
  props: {
    visible: Boolean,
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    beforeClose() {
      this.$emit('update:visible', false)
    },
  },
}
</script>

<style lang="scss" scoped></style>
